<template>
  <div>
    <Container>
      <Selected :selectedData="selectedData"></Selected>
    </Container>
  </div>
</template>

<script>
import Container from "../../../components/container/Container"; //引入子组件（容器组件）
import Selected from "../../../components/selected/SelectedClassifys"; //引入精选专题的分类
export default {
  components: {
    Container, //容器组件
    Selected, //精选专题的分类
  },
  data() {
    return {
      selectedData: [], //精选专题数据
    };
  },
  mounted() {
    // 精选专题数据
    this.$APIShow
      .selected()
      .then((res) => {
        console.log(res.data.data);
        this.selectedData = res.data.data;
      })
      .catch((err) => {
        console.log(err);
      });
  },
};
</script>

<style lang="scss" scoped>
</style>